/*
 * @Author: xiaoMaiSui
 * @Date: 2023-05-10 10:40:48
 * @LastEditTime: 2023-05-10 11:07:39
 * @FilePath: \logger-master\lib\src\log_output.dart
 */
import './logger.dart';

/// Log output receives a [OutputEvent] from [LogPrinter] and sends it to the
/// desired destination.
///
/// This can be an output stream, a file or a network target. [LogOutput] may
/// cache multiple log messages.
abstract class LogOutput {
  void init() {}

  void output(OutputEvent event);

  void destroy() {}
}
